# -*- coding:utf-8 -*-
'''
Created on 2012-9-24
@author: nibo
'''
import web

urls = (
        '', 'Reblog',
        '/(.*)', 'Blog'
        )
class Reblog:
    def GET(self):
        print('Reblog')
        raise web.seeother('/')
class Blog:
    def GET(self, path):
        print('Blog')
        return 'blog' + path
app_blog = web.application(urls, globals())
